.awards {
  line-height: 34px;

  .emoji-icon {
    width: 20px;
    height: 20px;
  }
}

.emoji-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 3px;
  z-index: 1000;
  min-width: 160px;
  font-size: 14px;
  background-color: $award-emoji-menu-bg;
  border: 1px solid $award-emoji-menu-border;
  border-radius: $border-radius-base;
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  pointer-events: none;
  opacity: 0;
  transform: scale(.2);
  transform-origin: 0 -45px;
  transition: all .3s cubic-bezier(.87,-.41,.19,1.44);

  &.is-visible {
    pointer-events: all;
    opacity: 1;
    transform: scale(1);
  }

  .emoji-menu-content {
    padding: $gl-padding;
    width: 300px;
    height: 300px;
    overflow-y: scroll;

    input.emoji-search {
      background-image: url("");
      background-repeat: no-repeat;
      background-position: right 5px center;
      background-size: 16px;
    }
  }
}

.emoji-menu-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.emoji-menu-list-item {
  padding: 3px;
  margin-left: 1px;
  margin-right: 1px;
}

.emoji-menu-btn {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: $border-radius-base;
  transition: transform .15s cubic-bezier(.3, 0, .2, 2);

  &:hover {
    background-color: transparent;
    outline: 0;
    transform: scale(1.3);
  }

  &:focus,
  &:active {
    outline: 0;
  }

  .emoji-icon {
    display: inline-block;
    position: relative;
    top: 3px;
  }
}

.award-menu-holder {
  display: inline-block;
  position: relative;
}

.award-control {
  margin-right: 5px;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 20px;
  outline: 0;

  &.active,
  &:active {
    background-color: $white-dark;
    box-shadow: none;
    outline: 0;
  }

  &.is-loading {
    .award-control-icon {
      display: none;
    }

    .award-control-icon-loading {
      display: block;
    }
  }

  .icon,
  .award-control-icon {
    float: left;
    margin-right: 5px;
    font-size: 20px;
  }

  .award-control-icon-loading {
    display: none;
  }

  .award-control-icon {
    color: $award-emoji-new-btn-icon-color;
  }
}
